ls *.fit >listi
#listfit=$1
dir_root=`pwd`
for file in `cat listi`
do
	cd $dir_root
	echo `date` >>timeg.log
	echo $file >>timeg.log
	#sh xsetheadlist.sh $file
	sh ~/software/softgft/xgft_otg.sh $file 
	cd $dir_root
	echo `date` >>timeg.log
	echo "==========" >>timeg.log
done

